<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <script src="../../js/jquery-1.4.2.js"></script>
</head>
<body>
    {% if age<18 %}
    <h1>未成年人禁止进入</h1>
    {% else %}
       <h1>付费进入</h1>
    {% endif %}
</body>
</html>